package com.yangtianfeng58.pojo;

import java.time.LocalDateTime;
import java.util.List;

public class Users {
        private Integer id;
        private String username;
        private String password;
        private String email;
        private LocalDateTime createdAt;
        private List<Options> optionsList;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public LocalDateTime getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(LocalDateTime createdAt) {
            this.createdAt = createdAt;
        }

        public List<Options> getOptionsList() {
            return optionsList;
        }

        public void setOptionsList(List<Options> optionsList) {
            this.optionsList = optionsList;
        }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", createdAt=" + createdAt +
                ", optionsList=" + optionsList +
                '}';
    }
}
